package com.itdct.mto.core.controller;

import com.itdct.mto.core.service.MtoService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Zhouwx
 * @date 2025/7/2 10:06:53
 * @version 1.0
 * @description
 */
@RestController
@RequestMapping(value = "/mto", produces = "application/json;charset=UTF-8", method = RequestMethod.POST)
public class MtoController {
    @Autowired
    private MtoService mtoService;

    @RequestMapping(value = "/fullConvert")
    public String fullConvert() {
        return mtoService.fullConvert();
    }

    @RequestMapping(value = "/covertTables")
    public String covertTables() {
        return mtoService.covertTables();
    }

    @RequestMapping(value = "/transferData")
    public String transferData() {
        return mtoService.transferData();
    }
}
